|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.interactions.core.support.Widget
org.eclipse.vtp.framework.interactions.voice.vxml.Output
org.eclipse.vtp.framework.interactions.voice.vxml.BasicOutput
org.eclipse.vtp.framework.interactions.voice.vxml.TextOutput
public class TextOutput
The TextOutput class wraps raw text that is meant to be
rendered to the caller with TTS. A text output can be used anywhere output to
the caller can be specified.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
TextOutput()
Creates a new instance of TextOutput with no text to render. |
|
TextOutput(java.lang.String text)
Creates a new instance of TextOutput with the specified text
to render with TTS. |
|
| Method Summary | |
|---|---|
java.lang.String |
getText()
Returns the current text to render with TTS. |
void |
setText(java.lang.String text)
Sets the text of this TextOutput to render with TTS. |
protected void |
writeText(org.xml.sax.ContentHandler outputHandler)
Write the text of this output to the supplied content handler. |
void |
writeWidget(org.xml.sax.ContentHandler outputHandler)
Writes the content of this widget to an XML content handler. |
| Methods inherited from class org.eclipse.vtp.framework.interactions.core.support.Widget |
|---|
toString, writeAttribute, writeChildren, writeChildren, writeWidget, writeWidget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TextOutput()
TextOutput with no text to render.
public TextOutput(java.lang.String text)
throws java.lang.NullPointerException
TextOutput with the specified text
to render with TTS.
text - The text to render with TTS.
java.lang.NullPointerException - If the supplied text is null.| Method Detail |
|---|
public java.lang.String getText()
public void setText(java.lang.String text)
throws java.lang.NullPointerException
text - The new text to render with TTS.
java.lang.NullPointerException - If the supplied text is null.
public void writeWidget(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
Widget
writeWidget in class WidgetoutputHandler - The handler to write this widget to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of this widget fails.
protected void writeText(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
outputHandler - The content handler to write to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of the script text fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||